/**
 * 
 */
package name.yzhu.wbdata.util;

import name.yzhu.cloud.hbase.YamlHBaseRowBase;
import name.yzhu.cloud.util.ExportHBaseToYaml;
import name.yzhu.wbdata.io.WeiboYamlRow;

/**
 * @author yhzhu
 *
 */
public class ExportWBToYamlFromHBase extends ExportHBaseToYaml {

	/* (non-Javadoc)
	 * @see name.yzhu.cloud.tool.ExportHBaseToYaml#getYamlHBaseRowFactory()
	 */
	@Override
	protected YamlHBaseRowBase getYamlHBaseRowFactory() {
		return new WeiboYamlRow();
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String[] ars = {"t_weibo", "weibo.yaml"};
		new ExportWBToYamlFromHBase().doMain(ars);
	}

	@Override
	public String getName() {
		return "exporHBaseToWB";
	}

	@Override
	public String getDescription() {
		return "export weibo data to yaml from hbase ";
	}

}
